package com.pen.changgou.user.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 用户表
 * 
 * @author yaodao
 * @email lfy@pen.changgou.com
 * @date 2020-11-29 22:19:49
 */
@ApiModel
@Data
@TableName("tb_user")
public class User implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 用户名
	 */
	@TableId
	@ApiModelProperty(name = "username",value = "用户名")
	private String username;
	/**
	 * 密码，加密存储
	 */
	@ApiModelProperty(name = "password",value = "密码，加密存储")
	private String password;
	/**
	 * 注册手机号
	 */
	@ApiModelProperty(name = "phone",value = "注册手机号")
	private String phone;
	/**
	 * 注册邮箱
	 */
	@ApiModelProperty(name = "email",value = "注册邮箱")
	private String email;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(name = "created",value = "创建时间")
	private LocalDateTime created;
	/**
	 * 修改时间
	 */
	@ApiModelProperty(name = "updated",value = "修改时间")
	private LocalDateTime updated;
	/**
	 * 会员来源：1:PC，2：H5，3：Android，4：IOS
	 */
	@ApiModelProperty(name = "sourceType",value = "会员来源：1:PC，2：H5，3：Android，4：IOS")
	private String sourceType;
	/**
	 * 昵称
	 */
	@ApiModelProperty(name = "nickName",value = "昵称")
	private String nickName;
	/**
	 * 真实姓名
	 */
	@ApiModelProperty(name = "name",value = "真实姓名")
	private String name;
	/**
	 * 使用状态（1正常 0非正常）
	 */
	@ApiModelProperty(name = "status",value = "使用状态（1正常 0非正常）")
	private String status;
	/**
	 * 头像地址
	 */
	@ApiModelProperty(name = "headPic",value = "头像地址")
	private String headPic;
	/**
	 * QQ号码
	 */
	@ApiModelProperty(name = "qq",value = "QQ号码")
	private String qq;
	/**
	 * 手机是否验证 （0否  1是）
	 */
	@ApiModelProperty(name = "isMobileCheck",value = "手机是否验证 （0否  1是）")
	private String isMobileCheck;
	/**
	 * 邮箱是否检测（0否  1是）
	 */
	@ApiModelProperty(name = "isEmailCheck",value = "邮箱是否检测（0否  1是）")
	private String isEmailCheck;
	/**
	 * 性别，1男，0女
	 */
	@ApiModelProperty(name = "sex",value = "性别，1男，0女")
	private String sex;
	/**
	 * 会员等级
	 */
	@ApiModelProperty(name = "userLevel",value = "会员等级")
	private Integer userLevel;
	/**
	 * 积分
	 */
	@ApiModelProperty(name = "points",value = "积分")
	private Integer points;
	/**
	 * 经验值
	 */
	@ApiModelProperty(name = "experienceValue",value = "经验值")
	private Integer experienceValue;
	/**
	 * 出生年月日
	 */
	@ApiModelProperty(name = "birthday",value = "出生年月日")
	private LocalDateTime birthday;
	/**
	 * 最后登录时间
	 */
	@ApiModelProperty(name = "lastLoginTime",value = "最后登录时间")
	private LocalDateTime lastLoginTime;

}
